package com.szu.subject.ui.service;

import java.util.List;

import com.szu.subject.domains.Major;

public interface MajorService {

	List<Major> getAllMajor();

	Major getMajorByPK(Long id);

	Major createMajor(Major major);

	Major updateMajor(Major major);

	int deleteMajor(Long id);

	List<Major> batchCreateMajors(List<Major> majors);

	List<Major> batchUpdateMajors(List<Major> majors);

	int batchDeleteMajors(List<Long> ids);

}
